package com.ddone.ioc.annotation.service.impl;

import com.ddone.ioc.annotation.bean.Book;
import com.ddone.ioc.annotation.dao.BookDao;
import com.ddone.ioc.annotation.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ddone
 * @date 2024/3/19-18:41
 */
@Service
public class BookServiceImpl implements BookService {
    @Autowired
    private BookDao bookDao;
    @Override
    public void addBook(Book book) {
        bookDao.addBook(book);
    }
}
